﻿using System;

namespace Codeflows
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
    public class FriendlyNameAttribute : Attribute
    {
        public string Name { get; set; }

        public FriendlyNameAttribute(string name)
        {
            if (name == null) throw new ArgumentNullException("name");
            Name = name;
        }
    }
}